
include makefile.inc

all: GraphTest


# c file dependencies
pf.o: pf.h
CODEROOT=".."
GraphTest.o: Graph.h

# binary dependencies
pftest: GraphTest.o

# dependencies to compile used libraries
.PHONY: $(CODEROOT)/GraphTest.a
$(CODEROOT)/pf/libpf.a:
	$(MAKE) -C $(CODEROOT)libpf.a

.PHONY: clean
clean:
	-rm pftest *.a *.o *~
